package com.hisoka.domain;

import org.apache.ibatis.type.Alias;

/**
 * @Auther hinsteny
 * @Date 2017-03-20
 * @copyright: 2017 All rights reserved.
 */
@Alias("MailInfo")
public class MailInfo {

    private Long id;

    private String receiver;

    private String subject;

    private String content;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "MailInfo{" +
                "receiver='" + receiver + '\'' +
                ", subject='" + subject + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
